-----------------------------------
-- Area: Lower Jeuno
-- NPC: Stinknix
-- Standard Merchant NPC
-----------------------------------

require("scripts/globals/shop");
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
require("scripts/zones/Lower_Jeuno/TextIDs");

-----------------------------------
-- onTrade Action
-----------------------------------

function onTrade(player,npc,trade)
end; 

-----------------------------------
-- onTrigger Action
-----------------------------------

function onTrigger(player,npc)
	
player:showText(npc,STINKNIX_SHOP_DIALOG);

stock = {0x03AF,294,   -- Poison Dust
	 0x03B0,1035,		-- Venom Dust
	 0x03B1,2000,		-- Paralysis Dust
	 0x43A8,7,	  -- Iron Arrow
	 0x43B8,5,	  -- Crossbow Bolt
	 0x43A1,1107,		-- Grenade
	 0x0b31,10000,	-- Dutchy Waystone
	 0x0394A,50000,     -- Teleport ring: Altep
	 0x03949,50000,   -- Teleport ring: Yhoat
	 0x03946,50000,   -- Teleport ring: Dem
	 0x03947,50000,   -- Teleport ring: Mea
	 0x03945,50000,   -- Teleport ring: Holla
	 0x03948,50000,   -- Teleport ring: Vahzl
	 0x04290,100000}  -- Warp Cudgel
	 
	
showShop(player, STATIC, stock);
end; 

-----------------------------------
-- onEventUpdate
-----------------------------------

function onEventUpdate(player,csid,option)
--printf("CSID: %u",csid);
--printf("RESULT: %u",option);
end;

-----------------------------------
-- onEventFinish
-----------------------------------

function onEventFinish(player,csid,option)
--printf("CSID: %u",csid);
--printf("RESULT: %u",option);
end;




